package com.zyz.L_泛型.自定义泛型;

/**
 * @author: vick
 * @Date: 2025/4/2
 * @Description:
 * @version: 1.0
 */
public class StudentTest {
    public static void main(String[] args) {
        //数学老师
        Student<Double> doubleStudent = new Student<>("张三", 95.5);

        //英语老师
        Student<Character> characterStudent = new Student<>("张三", 'C');
    }
}
